# $Id: Makefile 122 2014-07-20 00:02:14Z alan.watson.f@gmail.com $

all: all-libs
install: install-libs
	$(MKDIR) $(DESTDIR)$(BINDIR)
	$(INSTALL) bin/scheme-indent $(DESTDIR)$(BINDIR)
uninstall: uninstall-libs
	rm $(DESTDIR)$(BINDIR)/scheme-indent
doc: doc-libs
clean: clean-libs
dist-clean: dist-clean-libs

SCM_LIBS = \
        lib/scheme-indent/expand.sld \
        lib/scheme-indent/fill.sld \
        lib/scheme-indent/indent.sld \
        lib/scheme-indent/main.sld \
        lib/scheme-indent/string.sld \

include Makefile.libs

TESTS = \
	tests/test-expand.sh \
	tests/test-lexer.sh \
	tests/test-indent.sh \
	tests/test-comments.sh

test:
	for test in $(TESTS); do sh $$test; done
